.#{$namespace}sakai-conversations {

  .post-creator-instructor {
    font-size: 9px;
    letter-spacing: 0.5px;
    color: #262626;
    background: #E3D7F3;
    border-radius: 4px;
  }

  .post-topbar, .post-comment-topbar, .post-main, .comment-main, .post-reactions-comment-toggle-block {
    display: grid;
    grid-template-columns: 35px 1fr min-content;
    gap: 5px;
    align-items: start;
  }

  .conv-dropdown-menu {
    min-width: min-content;
    max-width: min-content;

    sakai-icon {
      pointer-events: none;
    }
  }

  .post-comments-block {
    background: var(--sakai-background-color-2);
    border-radius: 0 0 4px 4px;
    border: solid 1px var(--sakai-border-color);
  }

  .post-comments-block-inner {
    margin: 10px;
    margin-left: 25px;
    margin-top: 0;
  }

  .post-comment {
    margin-bottom: 20px;
  }

  .post-add-comment-block {
    display: grid;
    grid-template-columns: min-content 1fr;
  }
  .post-add-comment-block > div {
    margin-right: 5px;
  }

  .post-editor-block {
    margin: 8px 0 0 8px;
  }

  .comment-editor-input {
    height: 27px;
    border-radius: 2px;
    border-width: 1px;
  }

  .no-votes {
    background: var(--sakai-background-color-2)
  }

  .post-comment-toggle-block {
    color: var(--link-color);
  }

  .post-comment-toggle-block .reactions-link > a {
    color: var(--link-color);
  }

  .post-option {
    display: grid;
    grid-template-columns: min-content min-content;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
    padding: 4px;

    a {
      text-decoration: none;
    }
  }

  .post-option.single {
    display: block;
  }

  .post-option.postoption {
    padding: 0;
  }

  .post-option a div {
    pointer-events: none;
  }

  .reactions-block {
    margin-right: 4px;
    display: flex;
  }

  .reactions-block:empty {
    display: none;
  }

  .post-comment-toggle-icon {
    margin-right: 5px;
  }

  .post-comment-toggle-block div {
    flex: 1;
    white-space: nowrap;
  }

  .post {
    border: 1px solid var(--sakai-border-color);
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    padding: 8px;
    margin-top: 20px;
  }

  .post-without-comment-block {
    border: 1px solid var(--sakai-border-color);
    border-radius: 4px;
  }

  .reply {
    border: 0px;
    padding-left: 20px;
    margin-top: 20px;
  }

  .post .message {
    margin-left: 20px;
    margin-top: 10px;
    font-size: 14px;
    color: var(--sakai-text-color-1);
  }

  .discussion-post-left-column {
    width: 40px;
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .discussion-post-vbar {
    height: 100%;
    width: 4px;
    background-color: var(--sakai-border-color);
  }
  .discussion-post-right-column {
    margin-left: 8px;
    width: 100%;
  }

  .discussion-post-content-wrapper {
    background-color: var(--sakai-background-color-2);
    border-radius: 4px;
    border-color: var(--sakai-border-color);
    padding: 10px;

    &.new {
      background-color: var(--sakai-background-color-4);
    }
  }

  .discussion-post-content {
    display: grid;
    grid-template-columns: 1fr min-content;
    gap: 20px;
    width: 100%;
  }

  .discussion-post-content > div:nth-child(4) {
    text-align: right;
  }

  .discussion-post-continue-block {
    display: flex;
    align-items: center;
    margin-top: 6px;

    div:nth-child(2) {
      margin-left: 6px;
      padding-top: 4px;
    }
  }

  .discussion-post-bottom-bar {
    margin-top: 6px;
  }

  .discussion-post-reply-options {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
  }

  .post-actions-block {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 10px;
    line-height: 16px;
    color: var(--link-color);
  }

  .post-replies-toggle-block {
    display: flex;
    margin-left: auto;
    font-size: 14px;
    color: var(--sakai-link-color);
    align-items: center;
  }

  .post-replies-toggle-block div {
    flex: 1;
    white-space: nowrap;
  }
  .post-replies-toggle-block > div:nth-child(2) {
    margin-left: 5px;
  }

  .discussion-post-reply-block {
    display: flex;
    margin-top: 20px;
  }
  .discussion-post-reply-block > div:nth-child(2) {
    margin-left: 10px;
    width: 100%;
  }
  .topic-posts-header {
    display: flex;
    justify-content: space-between;
  }
  .topic-posts-header > div:nth-child(2) {
    margin-left: auto;
  }
  .discussion-post-new {
    background: #19884B;
    border-radius: 100px;
    font-size: 12px;
    color: var(--sakai-text-color);
    padding: 5px 10px;
  }
  .discussion-post-late {
    background: #CB2148;
    border-radius: 100px;
    font-size: 12px;
    color: var(--sakai-text-color-inverted);
    padding: 5px 10px;
  }
}
